package com.ytkj.digitalConstruction.entity.constructionprocess;

import java.util.Date;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @ClassName: ConstructionBase 
 * @Description: 施工流程表
 * @author iking
 * @date 2017年12月7日 上午11:43:10 
 *
 */
public class ConstructionBase {
	
	/**
	 * 流程编号
	 */
    private Integer flowId;

    /**
     * 流程名称
     */
    @Size(max=50,message="流程名称不能大于50个字！")
    private String flowName;

    /**
     * 项目编号
     */
    private Integer projectId;

    /**
     * 流程日期
     */
    private Date flowDate;

    /**
     * 流程进度
     */
    @Size(max=100,message="流程进度不能大于100个字")
    private String process;

    /**
     * 结束状态
     */
    private Integer status;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 创建日期
     */
    private Date createDate;

    /**
     * 更新者
     */
    private Integer updateBy;

    /**
     * 更新日期
     */
    private Date updateDate;
    
    /**
     * 流程摘要
     */
    @NotNull(message="流程摘要不能为空！")
    @Size(min=1, max=10, message="长度为1-10之间！")
    private String flowAbstract;

    /**
     * 流程编号 
     */
    private String flowNumber;

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName == null ? null : flowName.trim();
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Date getFlowDate() {
        return flowDate;
    }

    public void setFlowDate(Date flowDate) {
        this.flowDate = flowDate;
    }

    public String getProcess() {
        return process;
    }

    public void setProcess(String process) {
        this.process = process == null ? null : process.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getFlowNumber() {
        return flowNumber;
    }

    public void setFlowNumber(String flowNumber) {
        this.flowNumber = flowNumber == null ? null : flowNumber.trim();
    }

	public String getFlowAbstract() {
		return flowAbstract;
	}

	public void setFlowAbstract(String flowAbstract) {
		this.flowAbstract = flowAbstract;
	}
}